BlockCatalog\RESTSupport S

Total Complexity 22
Dependencies 2
Dependents 1
Total lines 292
Lines of code 178
Logical lines of code 81
Comment lines 65
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_posts()
S
51 4 25
register_endpoints()
S
44 1 60
validate_post_types()
S
61 4 12
index()
S
54 3 21
get_terms()
S
55 3 20
get_posts_to_index_query()
S
61 2 12
validate_post_ids()
S
67 2 8
delete_index()
S
60 1 14
register()
S
79 1 3
can_register()
S
82 1 3